package org.jeecg.common.modules.patientMedicalRecords.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 病历档案表
 * @Author: jeecg-boot
 * @Date:   2021-11-15
 * @Version: V1.0
 */
@Data
@TableName("patient_medical_records")
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="patient_medical_records对象", description="病历档案表")
public class PatientMedicalRecords implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private String id;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private Date updateTime;
	/**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private String sysOrgCode;
	/**预约id*/
	@Excel(name = "预约id", width = 15)
    @ApiModelProperty(value = "预约id")
    private String makeAppointmentId;
	/**房间ID*/
	@Excel(name = "房间ID", width = 15)
    @ApiModelProperty(value = "房间ID")
    private String roomId;
	/**患者ID*/
	@Excel(name = "患者ID", width = 15)
    @ApiModelProperty(value = "患者ID")
    private String patientId;
	/**身份证*/
	@Excel(name = "身份证", width = 15)
    @ApiModelProperty(value = "身份证")
    private String idCard;
	/**男女*/
	@Excel(name = "男女", width = 15)
    @ApiModelProperty(value = "男女")
    private String sex;
	/**年龄*/
	@Excel(name = "年龄", width = 15)
    @ApiModelProperty(value = "年龄")
    private Integer age;
	/**上次就诊时间*/
	@Excel(name = "上次就诊时间", width = 15)
    @ApiModelProperty(value = "上次就诊时间")
    private String lastTime;
	/**检查检验单-0，外观照片-1，病历/处方-2，其他-3*/
	@Excel(name = "检查检验单-0，外观照片-1，病历/处方-2，其他-3", width = 15)
    @ApiModelProperty(value = "检查检验单-0，外观照片-1，病历/处方-2，其他-3")
    private String type;
	/**其他描述*/
	@Excel(name = "其他描述", width = 15)
    @ApiModelProperty(value = "其他描述")
    private String ortherDesc;
	/**疾病名称*/
	@Excel(name = "疾病名称", width = 15)
    @ApiModelProperty(value = "疾病名称")
    private String diseaseDesc;
	/**症状描述*/
	@Excel(name = "症状描述", width = 15)
    @ApiModelProperty(value = "症状描述")
    private String systomsDesc;
	/**用药情况*/
	@Excel(name = "用药情况", width = 15)
    @ApiModelProperty(value = "用药情况")
    private String medicineDesc;
	/**状态*/
	@Excel(name = "状态", width = 15)
    @ApiModelProperty(value = "状态")
    private Integer status;
	/**医生id*/
	@Excel(name = "医生id", width = 15)
    @ApiModelProperty(value = "医生id")
    private String doctorId;
	/**医院检查*/
	@Excel(name = "医院检查", width = 15)
    @ApiModelProperty(value = "医院检查")
    private String hosDesc;
	/**患者姓名*/
	@Excel(name = "患者姓名", width = 15)
    @ApiModelProperty(value = "患者姓名")
    private String patientName;
	/**患病时长*/
	@Excel(name = "患病时长", width = 15)
    @ApiModelProperty(value = "患病时长")
    private String timeLength;
	/**openid*/
	@Excel(name = "openid", width = 15)
    @ApiModelProperty(value = "openid")
    private String openid;
	/**是否首诊 首诊-0，复诊-1*/
	@Excel(name = "是否首诊 首诊-0，复诊-1", width = 15)
    @ApiModelProperty(value = "是否首诊 首诊-0，复诊-1")
    private Integer isFirst;
	/**手机号*/
	@Excel(name = "手机号", width = 15)
    @ApiModelProperty(value = "手机号")
    private String phone;
	private String imagesId;
}
